//
//  THRadioViewController.h
//  PublicProject
//
//  Created by TianHe_Wsk on 15/11/13.
//  Copyright © 2015年 H.D.X. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^THRadioViewSelectBlock)(NSInteger index,NSArray *radioArray);

@interface THRadioViewController :  UIView

/**
 显示单选按钮
  基视图 Objct    父对象 sender      数量radioArray index 默认选中项
 */
-(id)showRadioView:(id)Objct Send:(UIView*)sender   setContentFream:(CGRect)frame dataSource:(NSArray *)radioArray DefIndex:(NSInteger)index;

//复选
/**
 显示复选按钮
 基视图 Objct    父对象 sender      数量radioArray
 */
-(id)showCheckView:(id)Objct Send:(UIView*)sender setContentFream:(CGRect)frame  dataSource:(NSArray *)radioArray;

@property(nonatomic,assign) NSInteger rowNumber;//一行显示几个按钮

@property (nonatomic, copy)THRadioViewSelectBlock selectBlock;

/**
 *  修改选中项
 *
 *  @param tag <#tag description#>
 */
-(void)selectTag:(NSArray*)tag;
@end
